--Execute as the sys user

-- create the database directory object
CREATE OR REPLACE DIRECTORY data_files AS '/home/oracle/labs/DATA_FILES/MEDIA_FILES';

-- if needed, grant privs on the directory object
GRANT READ ON DIRECTORY data_files TO OE;

